<template>
    <div style="background-color: #44ddaa;">
        <button @dblclick="num++">{{ num }}</button>
    </div>
</template>
<script>
export default {
    data() {
        return {
            num:1,
        }
    },
}
</script>